package com.zheng.hr.dao.model;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author likun
 * @since 2018-06-02
 */
@TableName("hr_festival")
public class HrFestival extends BaseEntity {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * 节日名称
     */
	@TableField("festival_name")
	private String festivalName;
    /**
     * 节日时间
     */
	@TableField("festival_date")
	private Date festivalDate;
    /**
     * 法定假日放假天数
     */
	@TableField("festival_day")
	private Double festivalDay;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFestivalName() {
		return festivalName;
	}

	public void setFestivalName(String festivalName) {
		this.festivalName = festivalName;
	}

	public Date getFestivalDate() {
		return festivalDate;
	}

	public void setFestivalDate(Date festivalDate) {
		this.festivalDate = festivalDate;
	}

	public Double getFestivalDay() {
		return festivalDay;
	}

	public void setFestivalDay(Double festivalDay) {
		this.festivalDay = festivalDay;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "HrFestival{" +
			"id=" + id +
			", festivalName=" + festivalName +
			", festivalDate=" + festivalDate +
			", festivalDay=" + festivalDay +
			", cuser=" + cuser +
			", ctime=" + ctime +
			", corganization=" + corganization +
			"}";
	}
}
